import random
x = random.randint(1,100)
for i in range(5):
    y = eval(input("请输入一个数字"))
    if x == y:
        print("你猜对了")
    elif x>y:
        print("你才小了")
    elif x<y:
        print("你猜大了")

print("猜的数字是:",x)
